package adv329;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

/**
 * @author oldliu
 * @since 1.0
 */
public class ArrayTest {
    public static void main(String[] args) {
        //Arrays：数组操作类
        int []a={1,45,6,23,67,100};
        int []a2={11,45,6,23,67,100};
        String s1 = Arrays.toString(a);
        System.out.println(s1);
        boolean b = Arrays.equals(a, a2);
        System.out.println(b);
        Arrays.fill(a,99);
        System.out.println(Arrays.toString(a));
        System.out.println(">>>>>>>>>>>>>>>");
        List<Integer> list = Arrays.asList(1, 2, 3, 6, 7, 8, 88, 80);
        System.out.println(list);
    }
}
